﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Service.IotInfo.Dto
{
    /// <summary>
    /// Oled状态日志
    /// </summary>
    [Table("OledScreenLogDto")]
    public class OledScreenLogDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 设备编号
        /// </summary>
        [MaxLength(50)]
        public string EquipMentNum { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 链接状态
        /// </summary>
        public bool ConnectionStatus { get; set; }

        /// <summary>
        /// 开启状态
        /// </summary>
        public bool OpenStaus { get; set; }

        /// <summary>
        /// 开启时间
        /// </summary>
        public DateTime OpeningTime { get; set; }

        /// <summary>
        /// 关闭时间
        /// </summary>
        public DateTime ClosingTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(50)]
        public string Remark { get; set; }
    }
}
